package org.example.servicepay.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 支付宝APP支付订单响应
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AlipayAppOrderResponse {
    
    /**
     * 商户订单号
     */
    private String outTradeNo;
    
    /**
     * 支付宝订单字符串
     */
    private String orderString;
    
    public static AlipayAppOrderResponse of(String outTradeNo, String orderString) {
        return new AlipayAppOrderResponse(outTradeNo, orderString);
    }
}